﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

namespace $safeprojectname$
{
    /// <summary>
    /// Wrapper of the MS Excel 2007++ basic types
    /// </summary>
    public enum ExCellType
    {
        String,
        Number,
        Boolean,
        DateTime,
        Guid,
    }

    /// <summary>
    /// Descriptor of the data structure, to be placed in the single Excel cell
    /// </summary>
    public interface IExCell
    {
        /// <summary>
        /// C# Property Name. Is placed on the second (hidden row) in the Excel Sheet.
        /// Could be used as the data descriptor for import
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// Localized C# Property Name. Is placed on the first Excel Sheet row.
        /// If not provided, Name localized value is used
        /// </summary>
        string Localized { get; set; }
        /// <summary>
        /// Cell content
        /// </summary>
        object Value { get; set; }
        /// <summary>
        /// The intended Excel Cell type
        /// </summary>
        ExCellType Type { get; set; }
    }
}